Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(core): expose css custom properties api #2943

Merged
merged 4 commits into from
Mar 5, 2024

Conversation

idoros
Copy link
Collaborator

@idoros idoros commented Mar 4, 2024

This PR exposes the available css custom properties available in a stylesheet with their:

  • local name in context stylesheet
  • local name in definition stylesheet
  • transformed name
  • source location (meta, start, end)

using the api: stylable.cssCustomProperty.getProperties(meta)

idoros added 3 commits March 4, 2024 13:33
- local name in context stylesheet
- local name in definition stylesheet
- transformed name
- source location (meta, start, end)
@idoros idoros added API Programmatic API core Processing and transforming logic 5.x Stylable v5 related labels Mar 4, 2024
@idoros idoros requested a review from barak007 March 4, 2024 11:38
@idoros idoros self-assigned this Mar 4, 2024
@idoros idoros merged commit b1618e3 into 5.x Mar 5, 2024
12 checks passed
@idoros idoros deleted the ido/expose-css-custom-props-api branch March 5, 2024 12:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
5.x Stylable v5 related API Programmatic API core Processing and transforming logic
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants